package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 离职申请表
* </p>
*
* @author wsl
* @since 2022-05-05
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "Resign对象", description = "离职申请表")
public class Resign implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("流程编号")
    private Integer processId;

    @ApiModelProperty("申请人员编号")
    private Integer empId;

    @ApiModelProperty("部门编号")
    private Integer deptId;

    @ApiModelProperty("离职日期")
    private LocalDate date;

    @ApiModelProperty("离职原由")
    private String cause;

    @ApiModelProperty("对公司的意见或建议")
    private String opinion;

    @ApiModelProperty("是否需要工作交接")
    private Integer needHandOver;

    @ApiModelProperty("交接人")
    private Integer successorId;

    @ApiModelProperty("当前状态")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;


}
